import { createBrowserRouter } from "react-router-dom";

import Home from "../view/Home/Home";
import Show from "../view/Show/Show";
import Four from "../view/Four/Four";
import Login from "../view/Login/Login";

const router = createBrowserRouter([
  {
    path: "/",
    element: <Home />,
  },
  {
    path: "/Show",
    element: <Show />,
  },
  {
    path: "/Login",
    element: <Login />,
  },
  {
    path: "*",
    element: <Four />,
  },
]);

export default router;
